import http from '@/utils/request';
// 查询首页装修
export const getPageDesign = (params: object) => {
	return http.request({
		method: 'GET',
		url: '/promotion/app/pagedesign',
		params,
		custom: {
			skipToken: true,
		},
	});
};

export const getById = (id: string) => {
	return http.request({
		method: 'GET',
		url: '/promotion/app/pagedesign/' + id,
		custom: {
			skipToken: true,
		},
	});
};
